package gwt.trading.client;

import gwt.trading.client.geometry.Point;
import gwt.trading.client.util.ColorEnum;

/**
 * @author Iulian Costan (iulian.costan@gmail.com)
 *
 */
public interface Renderer {

	void drawLine(Line line);
	
	void drawLine(Point start, Point end, ColorEnum colorEnum);

	void startLine(Point start, ColorEnum colorEnum);

	void continueLine(Point next);

	void finishLine(Point end);

	void fillBackground(Point origin, int width, int height, ColorEnum color);

	void clear(int x, int y, int width, int height);

}